loadFromArchive

abstract suspend fun loadFromArchive(archiveUri: Uri): List<DesignBlock>

Loads existing blocks from an archive. The archiveUri should be that of a file previously saved with saveToArchive. The blocks are not attached by default and won't be visible until attached to a page or the scene. The UUID of the loaded blocks is replaced with a new one.

Return

a list of loaded blocks.

Parameters

archiveUri

the uri of the blocks archive file.